Fix libostree-sys publish step
authorFelix Krull <f_krull@gmx.de>
Tue, 16 Oct 2018 17:34:13 +0000 (19:34 +0200)
committerColin Walters <walters@verbum.org>
Fri, 6 May 2022 16:53:53 +0000 (12:53 -0400)
rust-bindings/rust/.gitlab-ci.yml

index dc752ee7ff58050660b6c85bdfa0ff9bf9770ba8..1eeb0c2d1c78119d905b7aea639fc02aa08f7a17 100644 (file)
@@ -53,10 +53,8 @@ libostree_nightly:
 # publish
 publish_libostree-sys:
   stage: publish
-  before_script:
-  - cargo login $CRATES_IO_TOKEN
   script:
-    - cargo publish --verbose --manifest-path libostree-sys/Cargo.toml
+    - cargo publish --verbose --manifest-path libostree-sys/Cargo.toml --token $CRATES_IO_TOKEN
   when: manual
 
 #publish_libostree: